<template>
  <div class="main">
    <el-card shadow="always">
      <el-breadcrumb separator-class="el-icon-arrow-right" style="height: 45px">
        <el-breadcrumb-item :to="{path:'/'}">
          <span>首页</span>
        </el-breadcrumb-item>
        <el-breadcrumb-item>活动管理</el-breadcrumb-item>
      </el-breadcrumb>

      <ActivityStudentManage v-if="isStudent"></ActivityStudentManage>
      <ActivityUniversityManage v-else></ActivityUniversityManage>

    </el-card>
  </div>
</template>
<script>
import ActivityUniversityManage from "@/views/activity/manage/ActivityUniversityManage";
import ActivityStudentManage from "@/views/activity/manage/ActivityStudentManage";
import CacheUtil from "@/utils/CacheUtil";

export default {
  components: {ActivityStudentManage, ActivityUniversityManage},
  data() {
    return {
      isStudent: CacheUtil.isStudent(),
      isUniversity: CacheUtil.isUniversity(),
    }
  },
  created() {
  },
  methods: {}
}
</script>
<style lang="less" scoped>
.main {
  //padding-right: 20px;
  //padding-left: 20px;
}

.typeButtons {
  width: 100%;
  display: flex;
  margin-bottom: 20px;

  .activeTag {
    transition: 0.3s ease all;
    box-shadow: rgba(119, 119, 119, 0.39) 3px 3px 3px;
  }
}
</style>
